package com.chinasoft.ecommerceconsumptionanalysissystem.service.impl;

import com.chinasoft.ecommerceconsumptionanalysissystem.mapper.CtByLocalAndTimeMapper;
import com.chinasoft.ecommerceconsumptionanalysissystem.pojo.CtByLocalAndTime;
import com.chinasoft.ecommerceconsumptionanalysissystem.service.CtByLocalAndTimeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CtByLocalAndTimeServiceImpl implements CtByLocalAndTimeService {
    @Autowired
    private CtByLocalAndTimeMapper ctByLocalAndTimeMapper;

    @Override
    public List<CtByLocalAndTime> selectAll() {
        return ctByLocalAndTimeMapper.selectAll();
    }

    @Override
    public int insert(CtByLocalAndTime ctByLocalAndTime) {
        return ctByLocalAndTimeMapper.insert(ctByLocalAndTime);
    }
}
